#pragma once

#include "Render/VulkanDescriptor/VulkanDescriptorLayout.h"


struct STextWidgetPipeline
{
public:
    void Init();

    vk::Sampler TextImageSampler;
    void CreateTextImageSampler();

    struct SStaticTextPushConstant
    {
        float Color[4];
        float ZOrder;
    };

    //static text 
    SVulkanDescriptorLayout StaticDescriptorSetLayout;
    vk::PipelineLayout StaticPipelineLayout;
    vk::Pipeline StaticPipeline;
    void CreateStaticPipeline();

    struct SDynamicTextPushConstant
    {
        float ZOrder;
    };

    //dynamic text
    SVulkanDescriptorLayout DynamicDescriptorSetLayout;
    vk::PipelineLayout DynamicPipelineLayout;
    vk::Pipeline DynamicPipeline;
    void CreateDynamicPipeline();


};